import Vue from 'vue'
import Router from 'vue-router'
import Main from '../pages/main.vue'
import Class from '../pages/class.vue'
import Quan from '../pages/quan.vue'
import Qxiangqing from '../components/quan/xiangqing.vue'
import Wode from '../pages/wode.vue'
import Xiangqing from '../components/main/xiangqing.vue'

import ChangeSelf from '../components/wode/changeSelf.vue'
import SheZhi from '../components/wode/shezhi.vue'
// 登陆注册
import Dlzc from '../components/wode/dlzc.vue'
import Zc from '../components/wode/zc.vue'

// 主页四个区块
import Hbbk from '../components/main/hbbk/hbbk.vue'
import hbbkXQ from '../components/main/hbbk/xiangqing.vue'
import spfl from '../components/main/spfl/spfl.vue'
import spfllist from '../components/main/spfl/spfllist.vue'
import spfllistXQ from '../components/main/spfl/xiangqing.vue'
Vue.use(Router)
export default new Router({
     routes: [
         { path: '/main', component: Main },
         { path: '/class', component: Class },
         { path: '/quan', component: Quan },
         { path: '/Qxiangqing', component: Qxiangqing },

         { path: '/wode', component: Wode },
         { path: '/dlzc', component: Dlzc },
         { path: '/zc', component: Zc },

         {path:'/xiangqing',component:Xiangqing},

         {path:'/changeSelf',component:ChangeSelf},
         {path:'/shezhi',component:SheZhi},

         {path:'/hbbk',component:Hbbk},
         {path:'/hbbkXQ',component:hbbkXQ},
         {path:'/spfl',component:spfl},
         {path:'/spfllist',component:spfllist},
         {path:'/spfllistXQ',component:spfllistXQ},



         { path: '/', redirect: '/Main' }
     ] } )


     